package pe.com.bn.sach.dao.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.ibatis.sqlmap.client.SqlMapClient;
import pe.com.bn.sach.dao.BrokerDAO;
import pe.com.bn.sach.domain.Bnchf38Broker;

public class BrokerImpl implements BrokerDAO 
{
 
	private static Logger log = Logger.getLogger(BrokerImpl.class.getName());
	
	protected SqlMapClient sqlMap = null;
	
	public void setSqlMap(SqlMapClient sqlMap) {
		this.sqlMap = sqlMap;
	}

	public List buscaBroker(Bnchf38Broker bnchf38Broker) throws Exception{
		
		
		
		return sqlMap.queryForList("sqlBroker.buscaBroker",bnchf38Broker);
	}
	
	
}
